Lua/Client/Image
From JC2-MP Documentation
Static functions
 
 
 
 Returns
 
 Prototype
 
 
 Image
 
 Create(AssetLocation, string)
 
 
 Image
 
 Create(number)
 
  boolean
 
 IsSupported(string)
 
Functions
 
 
 
 
 
 Returns
 
 Prototype
 
 
 
 Draw(Vector2, Vector2, Vector2, Vector2)
 
 
 
 Draw()
 
 
 number
 
 GetAlpha()
 
 
 boolean
 
 GetFailed()
 
 
 Vector2
 
 GetPixelSize()
 
 
 Vector2
 
 GetPosition()
 
 
 Vector2
 
 GetSize()
 
 
 
 GetUV()
 
 
 Color
 
 Sample(Vector2)
 
 
 
 SetAlpha(number)
 
 
 
 SetPosition(Vector2)
 
 
 
 SetSize(Vector2)
 
 
 
 SetUV(Vector2, Vector2)
 

